package com.jwsoft.manager.core.dao.service.impl;

import com.jwsoft.manager.common.vo.eduSchoolLockAudit.EduSchoolLockAuditVO;
import com.jwsoft.manager.core.dao.model.EduSchoolLockAudit;
import com.jwsoft.manager.core.dao.mapper.EduSchoolLockAuditMapper;
import com.jwsoft.manager.core.dao.service.EduSchoolLockAuditService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 学校地址锁定确认表服务实现类
 *
 * @author zhang
 * @since 2025-01-08
 */
@Service
public class EduSchoolLockAuditServiceImpl extends ServiceImpl<EduSchoolLockAuditMapper, EduSchoolLockAudit> implements EduSchoolLockAuditService {

    @Autowired
    private EduSchoolLockAuditMapper eduSchoolLockAuditMapper;
    @Override
    public List<EduSchoolLockAuditVO> getOneSchoolAddressList(Long parentId, String schoolCategory) {
        return eduSchoolLockAuditMapper.getOneSchoolAddressList(parentId, schoolCategory);
    }

    @Override
    public List<EduSchoolLockAuditVO> getLtSchoolAddressList(Long parentId, String schoolCategory) {
        return eduSchoolLockAuditMapper.getLtSchoolAddressList(parentId, schoolCategory);
    }
}
